package Mangos::DB::Characters::ArenaTeam;

use strict;

use base qw(Mangos::DB::Characters);

__PACKAGE__->meta->setup
(
    table   => 'arena_team',

    columns => 
    [
        arenateamid     => { type => 'integer', not_null => 1 },
        name            => { type => 'character', length => 255, not_null => 1 },
        captainguid     => { type => 'integer', default => '0', not_null => 1 },
        type            => { type => 'integer', default => '0', not_null => 1 },
        BackgroundColor => { type => 'integer', default => '0', not_null => 1 },
        EmblemStyle     => { type => 'integer', default => '0', not_null => 1 },
        EmblemColor     => { type => 'integer', default => '0', not_null => 1 },
        BorderStyle     => { type => 'integer', default => '0', not_null => 1 },
        BorderColor     => { type => 'integer', default => '0', not_null => 1 },
    ],

    primary_key_columns => [ 'arenateamid' ],
);

1;

package Mangos::DB::Characters::ArenaTeam::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Characters::ArenaTeam' }

__PACKAGE__->make_manager_methods('arena_team');

1;
